package com.kehutong.applet.entity;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: 广告位置设置
 * @author: joneron
 * @create: 2021/5/21
 **/
@Table(value="t_applet_advert_position", comment="广告位置配置", idType = IDType.TIMESTAMP)
public class AdvertPositionEntity extends Entity {

    private static final long serialVersionUID = -7198768497331718406L;

    protected AdvertPositionEntity(String id) {
        super(id);
    }

    @Column(comment="广告位置名称")
    private String positionName;

    @Column(comment="图片长度")
    private String imgLength;

    @Column(comment="图片宽度")
    private String imgWidth;

    @Column(comment="广告数量")
    private int advertNum;

    @Column(comment="广告排序")
    private Integer advertSort;

    @Column(comment="广告是否显示")
    private boolean status;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createUserName;

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getImgLength() {
        return imgLength;
    }

    public void setImgLength(String imgLength) {
        this.imgLength = imgLength;
    }

    public String getImgWidth() {
        return imgWidth;
    }

    public void setImgWidth(String imgWidth) {
        this.imgWidth = imgWidth;
    }

    public int getAdvertNum() {
        return advertNum;
    }

    public void setAdvertNum(int advertNum) {
        this.advertNum = advertNum;
    }

    public Integer getAdvertSort() {
        return advertSort;
    }

    public void setAdvertSort(Integer advertSort) {
        this.advertSort = advertSort;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
}
